<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<DomainModel.Entities.Event>" %>

<!--Google starts here-->

<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;key=ABQIAAAA63A8e-KG12EyAEaeu9tccxQQS-ezJifLr2HP9wTq26dzrG0goRRrmt_UlQ3bHJczNs6fm4jjTy4sew" type="text/javascript"></script>

<script src="/Scripts/Event/google.js" type="text/javascript"></script>

<script type="text/javascript">
    $(document).ready(function() {

        // load map
        initMap();
        // add address
        var myAddress = $("#address-textbox").val();
        if (jQuery.trim(myAddress) != "")
            showLocation();
    });

</script>

<div id="map_canvas_events">
</div>
<br class="clear" />
<!--Google map ends here-->
